<?php

/*
 * Action -2$
 *
 * +1 Action. 
 * +1 Buy. 
 * Take a Coin token.
 * 
 */

class CandlestickMaker extends Card implements iAction, iKingdom, iGuilds, iCoinTokensRequired {

    public function __construct() {
        parent::__construct("Candlestick Maker", 2);
        $this->undoPlay = false;
        $this->undoBuy = false;
    }

    public function getDescription() {
        return array(
            "+1 Action",
            "+1 Buy",
            "Take a coin token"
        );
    }

    public function play(Game $game, $isRealCard) {
        $game->addActions(1);
        $game->addBuys(1);
        $game->addCoinTokens(1);

        ScreenDisplay::addScreenMessage($game, true, "get +1 action, +1 buy and 1 coin token", "get +1 action, +1 buy and +1 coin token");
        $game->cardActionFinished();
        return true;
    }

}

?>